<?php
//debug($users);


if ($Dmdform['Dmdform']['is_new_backup']==0):
    $table='Backup';
    $prefix=null;
else:
    $table='Dmdform';
    $prefix='backup_';
endif;  ?>
<?php   
    if (isset($Dmdform[$table][$prefix.'name'])):
?>

<table class="showFields">
    <tr>
        <th><?php __('Name')  ?></th>
        <td><?php echo $Dmdform[$table][$prefix.'name'];  ?></td>
    </tr>
    <tr>
        <th><?php __('Surname')  ?></th>
        <td><?php echo $Dmdform[$table][$prefix.'surname'];  ?></td>
    </tr>    
    <tr>
        <th><?php __('Id Code')  ?></th>
        <td><?php echo $Dmdform[$table][$prefix.'id_code'];  ?></td>
    </tr>
    <tr>
        <th><?php __('Id Erp')  ?></th>
        <td><?php echo $Dmdform[$table][$prefix.'id_erp'];  ?></td>
    </tr>
    <tr>
        <th><?php __('Back Up of')  ?></th>
        <td><?php (isset($Dmdform['Dmdform']['user_backup_of']))?e($users[$Dmdform['Dmdform']['user_backup_of']]):e('');  ?></td>
    </tr> 
   
</table>
<?php else:  ?>
<div class="informDivError">
    <?php __('No Data !')  ?>
</div>    
<?php endif;  ?>